//
//  MusicModel.m
//  DayByDay
//
//  Created by dllo on 16/5/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "MusicModel.h"

@implementation MusicModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        self.numOfId = value;
    }
    
}

// 内存可能会有问题???
- (void)setData:(NSMutableArray *)data {
    _data = [NSMutableArray array];
    for (NSDictionary *dic in data) {
        DataModel *model = [DataModel new];
        [model setValuesForKeysWithDictionary:dic];
        [self.data addObject:model];
    }
}




@end
